﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Code4WP7SDK;
using System.Collections.ObjectModel;

namespace LuWeibo.Models
{
    public class CommentsModel : BaseModel
    {
        private ObservableCollection<Comments> _showComments;

        public ObservableCollection<Comments> comments
        {
            get
            {
                if (this._showComments == null)
                {
                    this._showComments = new ObservableCollection<Comments>();
                }
                return _showComments;
            }
            set
            {
                _showComments = value;
                this.NotifyPropertyChanged(p => p.comments);
            }
        }
    }
}
